#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include <sys/types.h>

struct internet {
	int priority;
	char *name;
};

void winner()
{
	printf("and we have a winner @ %d\n", time(NULL));
}

int main(int argc, char **argv)
{
    register int ebp asm("ebp");  
    register int esp asm("esp");  
    printf("esp:0x%08x\nebp:0x%08x\n", esp, ebp);
    
	struct internet *i1, *i2, *i3;

	i1 = malloc(sizeof(struct internet));
	i1->priority = 1;
	i1->name = malloc(8);

	i2 = malloc(sizeof(struct internet));
	i2->priority = 2;
	i2->name = malloc(8);

	strcpy(i1->name, argv[1]);
	strcpy(i2->name, argv[2]);

	printf("and that's a wrap folks!\n");
}

